package com.pospi.pai.yunpos.util;

import com.pospi.pai.yunpos.been.SupBeen;
import com.pospi.pai.yunpos.report.SyyBeen;

import java.util.List;

/**
 * Created by acer on 2018/8/22.
 */

public class BillUtil {
    public SupBeen getNewSup(){
        SupBeen been = new SupBeen();
        been.setId("");
        been.setName("全部");
        return been;
    }
    public SyyBeen getNewSyy(){
        SyyBeen been = new SyyBeen();
        been.setSyyname("");
        been.setSyyname("全部");
        return been;
    }

    public void initBilltype(List<SupBeen> list) {
        SupBeen been = new SupBeen();
        been.setId("");
        been.setName("全部");
        SupBeen been1 = new SupBeen();
        been1.setId("505");
        been1.setName("销售单");
        SupBeen been2 = new SupBeen();
        been2.setId("506");
        been2.setName("退货单");
        list.add(been);
        list.add(been1);
        list.add(been2);
    }
}
